import axios from 'axios'
import config from '@/service/config.js' // 倒入默认配置

const login = user => {
  return axios.post(`${config.baseURL}/login`, {
    params: user
  })
}

export default {
  login
}
